<%@ page import="me.xiaoyan.java.spring.po.User" %><%--
  Created by IntelliJ IDEA.
  User: yaclty
  Date: 2021/4/15
  Time: 10:46 上午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h2>${user_id}</h2>
<c:if test="${user_id > 10}">
    <c:forEach items="${list}" var="u">
        <h1>${u.username}</h1>
    </c:forEach>
</c:if>
<c:if test="${user_id <= 10}">
    <h1>${user_id} <= 10</h1>
</c:if>
</body>
</html>
